package commonAdmin.dao;

import java.util.List;

public interface CRUDDao<BEAN,ID> {

	BEAN upsert(BEAN t);

	BEAN get(ID id);

	boolean exists(ID id);

	boolean delete(ID id);

	List<BEAN> findAll();

	//加上分页支持

}
